package com.unitedvision.persistence.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.unitedvision.persistence.domain.CompanyEntity;
import com.unitedvision.persistence.domain.GoodsEntity;
import com.unitedvision.persistence.domain.InventoryEntity;

public interface InventoryRepository extends JpaRepository<InventoryEntity, Integer> {
	List<InventoryEntity> findByCompany(CompanyEntity company);
	List<InventoryEntity> findByGoods(GoodsEntity goods);
}
